package com.zeta.eduservice.mapper;

import com.zeta.eduservice.entity.question.EduCourse;
import com.zeta.eduservice.entity.vo.CoursePublishVo;
import com.zeta.eduservice.entity.vo.front.CourseWebVo;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author zeta
 * @since 2020-08-02
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

	CoursePublishVo selectCoursePublishVoById(String id);

	CourseWebVo getBaseCourseInfo(String courseId);
	
	List<EduCourse> getByPublishId(String id);
}
